<!--
  @author yangjiangming
  @date 2018/11/26 10:00
-->
<!DOCTYPE html SYSTEM "http://www.thymeleaf.org/dtd/xhtml1-strict-thymeleaf-4.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">

<head>
    <title>价格查询</title>
    <th:block th:replace="common/common :: jscss"/><!-- tips 插件 -->
</head>
<style>
    .layui-input-inline-reset{
        width: 127px !important;
    }
</style>

<body>

<div class="layui-fluid order-price-page">
    <div class="layui-card">
        <div class="layui-card-body">
            <!-- 查询表单 -->
            <form class="search-form layui-form" method="post" action="" lay-filter="zmn-price-form">
                <input type="hidden" name="workId" th:value="${orderWork.workId}"/>
                <input type="hidden" name="orderId" th:value="${orderWork.orderId}"/>
                <input type="hidden" name="cityId" th:value="${orderWork.cityId}"/>
                <input type="hidden" name="channelId" th:value="${orderWork.channelId}"/>
                <input type="hidden" name="bizType" th:value="${orderWork.bizType}"/>
                <input type="hidden" name="type" th:value="${orderWork.type}"/>
                <input type="hidden" name="plat" th:value="${orderWork.platWork}"/>
                <input type="hidden" name="productShowType" th:value="${productShowType}"/>


                <div class="layui-form-item">
                    <div class="layui-inline">
                        <label class="layui-form-label">产品：</label>
                        <div class="layui-input-inline">
                            <select name="productId" id="productId" lay-filter="select-productId" lay-verify="required" lay-search>
                                <option value="">请选择</option>
                                <option th:each="item : ${productList}" th:value="${item.value}" th:text="${item.text}" th:selected="${item.value == orderWork.productId}"></option>
                            </select>
                        </div>

                        <label class="layui-form-label">品牌：</label>
                        <div class="layui-input-inline">
                            <select name="brandId" id="brandId" lay-search lay-filter="select-brandId" lay-verify="required">
                                <option value="">请选择</option>
                                <option th:each="item : ${brandList}" th:value="${item.value}" th:text="${item.text}" th:selected="${item.value == brandId}"></option>
                            </select>
                        </div>
                        <label class="layui-form-label"></label>
                        <div class="layui-input-inline more-up">
                            <div th:replace="common/listQueryItemTmpl :: buttonForSearch"></div>
                        </div>
                    </div>
                </div>

                <div class="layui-form-item">
                    <div class="layui-tab layui-tab-brief" id="zmn-price-tab" lay-filter="zmn-price-tab">
                        <div class="layui-tab-content" id="tab-content" style="padding: 15px 0;">
                            <table class="layui-hide" id="zmn-price-table" lay-filter="zmn-price-table"></table>
                        </div>
                    </div>

                </div>
            </form>
        </div>
    </div>
</div>


<script th:inline="javascript">
    layui.config({
        base: "/static/js/module/"
    }).extend({
        zmn_oms_price_order_list: "price/zmn.oms.price.order.list"
    }).use(['index', 'zmn_oms_price_order_list']);

</script>

</body>
</html>